﻿using LayuiMvc.DataEntity.IdentityEntity;
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LayuiMvc.DataEntity.IdentityStore
{
    public class IdentityUserStore:UserStore<
        IdentityUserEntity,
        IdentityRoleEntity,
        int,
        IdentityUserLoginEntity,
        IdentityUserRoleEntity,
        IdentityUserClaimEntity
        >
    {
        public IdentityUserStore():base(new IdentityDbContext())
        {
            base.DisposeContext = true;
        }

        public IdentityUserStore(DbContext context):base(context)
        {

        }
    }
}
